package com.adcc.ags.gms.core.job;

import com.adcc.ags.gms.core.util.LogFactory;
import com.adcc.ags.gms.gw.service.UserMonitorService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by liuyi on 2017/2/13.
 */
public class UserMonitorNotice {
    @Autowired
    private UserMonitorService userMonitorService;
    @Autowired
    private LogFactory log;

    public void doNotice() {
        try {
            userMonitorService.refreshData();
        } catch (Exception e) {
            log.error(UserMonitorNotice.class, "UserMonitor doNotice error");
        }
    }
}
